// components/picture/picture.js
Component({
  properties: {
    index: {type: Number},
    url: {type: String},
  },

  data: {
  },

  methods: {
    onTap() {
      this.triggerEvent('select', this.data.index)
    }
  }
})
